import request from '@/utils/request'

export function getList() {
    return request({
        url: `/admin/core/lend/list`,
        method: 'get'
    })
}

export function show(id) {
    return request({
        url: `/admin/core/lend/show/${id}`,
        method: 'get'
    })
}

export function makeLoan(id) {
    return request({
        url: `/admin/core/lend/makeLoan/${id}`,
        method: 'get'
      })
}